package io.renren.modules.zhaopin.service.impl;

import io.renren.modules.zhaopin.dao.BackgroundCheckReportDao;
import io.renren.modules.zhaopin.entity.BackgroundCheckReportEntity;
import io.renren.modules.zhaopin.service.BackgroundCheckReportService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

@Service("backgroundCheckReportService")
public class BackgroundCheckReportServiceImpl extends ServiceImpl<BackgroundCheckReportDao, BackgroundCheckReportEntity> implements BackgroundCheckReportService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<BackgroundCheckReportEntity> page = this.page(
                new Query<BackgroundCheckReportEntity>().getPage(params),
                new QueryWrapper<BackgroundCheckReportEntity>()
        );

        return new PageUtils(page);
    }

}